-- GENERATED SPELL FOR [Ursus Mauler] --


function spell0_26644(pUnit, Event) --@Maul,n/a--
pUnit:FullCastSpellOnTarget(12161,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_26644', 563, 1)
end

function Sorts_26644(pUnit, Event)
local choix_sorts_26644 = math.random(0, 0)
if choix_sorts_26644 == 0 then
pUnit:RegisterEvent('spell0_26644', 1, 1)
end
end

function mob26644_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_26644', math.random(1500, 3000), 1)
end

function mob26644_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob26644_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob26644_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(26644, 1, 'mob26644_Action')
RegisterUnitEvent(26644, 2, 'mob26644_Leave')
RegisterUnitEvent(26644, 3, 'mob26644_Kill')
RegisterUnitEvent(26644, 4, 'mob26644_Die')
